<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="EditArticle.aspx.vb" Inherits="EditArticle" title="Edit Article" validateRequest="false" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="post">
         <h2 class="title"><span>Edit Article</span></h2>
	     <div class="story">	        
        <asp:Label ID="Label1" runat="server" Text="Article Title:" Font-Bold="True" Font-Size="Larger"></asp:Label>&nbsp;<br />
        <asp:TextBox ID="txtTitle" runat="server" Width="364px"></asp:TextBox><br />
        <br />
        <FCKeditorV2:FCKeditor ID="teArticleBody" runat="server" BasePath="~/FCKeditor/" Height="600px">
        </FCKeditorV2:FCKeditor>
        &nbsp;
        <table>
            <tr>
                <td style="width: 153px; height: 26px">
                    <asp:Label ID="Label2" runat="server" Text="Creation Date:"></asp:Label>
                </td>
                <td style="width: 94px; height: 26px">
                    </td>
                <td align="left" style="width: 110px; height: 26px">
                    <asp:Label ID="Label5" runat="server" Text="Approved:"></asp:Label></td>
                <td align="center" style="width: 74px; height: 26px">
                    </td>
            </tr>
            <tr>
                <td style="width: 153px; height: 26px">
                    <asp:TextBox ID="txtCreation" runat="server" Enabled="false"></asp:TextBox></td>
                <td style="width: 94px; height: 26px">
                </td>
                <td align="left" style="width: 110px; height: 26px">
                    <asp:CheckBox ID="chkApprove" runat="server" /></td>
                <td align="center" style="width: 74px; height: 26px">
                </td>
            </tr>
            <tr>
                <td style="width: 153px; height: 13px">
                    <asp:Label ID="Label3" runat="server" Text="Post Date:"></asp:Label>
                </td>
                <td style="width: 94px; height: 13px">
                    </td>
                <td align="left" style="width: 110px; height: 13px">
                    <asp:Label ID="Label6" runat="server" Text="Category:"></asp:Label></td>
                <td align="center" style="width: 74px; height: 13px">
                    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetAllCategories"
                        TypeName="CategoryObj"></asp:ObjectDataSource>
                </td>
            </tr>
            <tr>
                <td style="width: 153px; height: 13px">
                    <asp:TextBox ID="txtPost" runat="server"></asp:TextBox></td>
                <td style="width: 94px; height: 13px">
                </td>
                <td align="left" style="width: 110px; height: 13px">
                    <asp:DropDownList ID="ddlCategory" runat="server" DataSourceID="ObjectDataSource1"
                        DataTextField="Name" DataValueField="CategoryID">
                    </asp:DropDownList></td>
                <td align="center" style="width: 74px; height: 13px">
                </td>
            </tr>
            <tr>
                <td style="width: 153px">
                    <asp:Label ID="Label4" runat="server" Text="Expiration Date:"></asp:Label></td>
                <td style="width: 94px">
                    </td>
                <td style="width: 110px" align="left">
                    <asp:Label ID="Label7" runat="server" Text="Author: "></asp:Label></td>
                <td style="width: 74px">
                </td>
            </tr>
            <tr>
                <td style="width: 153px">
                    <asp:TextBox ID="txtExpire" runat="server"></asp:TextBox></td>
                <td style="width: 94px">
                </td>
                <td align="left" style="width: 110px">
                    <asp:TextBox ID="txtUser" runat="server" Enabled="False" Width="160px"></asp:TextBox></td>
                <td style="width: 74px">
                </td>
            </tr>
            <tr>
                <td style="width: 153px; height: 28px">
                    <asp:Label ID="lblID" runat="server" Visible="False"></asp:Label></td>
                <td style="width: 94px; height: 28px">
                </td>
                <td align="left" style="width: 110px; height: 28px">
                </td>
                <td style="width: 74px; height: 28px">
                </td>
            </tr>
            <tr>
                <td style="width: 153px">
                    <asp:Button ID="btnSave" runat="server" Text="Save" Width="54px" />
                    </td>
                <td style="width: 94px">
                </td>
                <td align="left" style="width: 110px">
                </td>
                <td style="width: 74px">
                </td>
            </tr>
        </table>
        </div>
    </div>
    &nbsp;
</asp:Content>

